package model.financial;

public class BillPayed implements BillState {

	private Bill bill;

	public BillPayed(Bill bill) {
		this.bill = bill;
	}

	@Override
	public void handle() throws Exception {
		throw new Exception("can't handle a payed bill.");

	}

	@Override
	public void archive() throws Exception {
		bill.setState(bill.getBillArchived());
	}

}
